﻿(function () {
	rf.register =
		{
			settings: {
				urls: {
				},
				vars: {
				},
				elements: {
					btnRegisterId: '#btn-register',
					contentRegisterId: '#content-register',
					content: '.content'
				}
			},

			init: function (settings) {
				$.extend(true, rf.register.settings, settings);

				var $btn = $(rf.register.settings.elements.btnRegisterId);
				var $content = $(rf.register.settings.elements.contentRegisterId);

				if ($btn && $content) {
					$btn.off("click").on("click", function () {
						$(".content").hide();
						$content.slideDown(600);
					});
				}
			},
		};
})();